﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{

    /// <summary>
    /// 发货申请关联产品表
    /// </summary>
    [SugarTable("ShipProductApp")]
    public class ShipProductApp: Audit
    {

        /// <summary>
        /// 发货申请关联产品ID
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ShipProductAppId { get; set; }

        /// <summary>
        /// 发货申请id
        /// </summary>
        public string? SRANumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        /// 
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? PName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? PNumber { get; set; }
        /// <summary>
        /// <summary>
        /// 规格型号
        /// </summary>
        /// 
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? PSpec { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        /// 
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? PUnit { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int ProNum { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }

        /// <summary>
        /// 包装方式
        /// </summary>
        public string? PackMethod { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }


    }
}
